home *** CD-ROM | disk | FTP | other *** search
/ AMIGA-CD 2 / Amiga-CD - Volume 2.iso / ungepackte_daten / 1995 / 6 / 02 / patch-work / patchutil.h < prev    next >
C/C++ Source or Header  |  1995-06-01  |  518b  |  26 lines

  1. /*
  2. ** PatchUtil.h von Patrick Ohly
  3. ** Header-Datei
  4. ** © 1994 Patrick Ohly
  5. */
  6.  
  7. /* Funktions-Prototypes */
  8. APTR SafeSetFunction(
  9.    struct Library *library_base,
  10.    LONG offset,
  11.    APTR new_function,
  12.    APTR *handle);
  13. VOID RemoveFunction(APTR old_function, APTR handle);
  14. BOOL IsProcess(VOID);
  15.  
  16. /* Defines für SAS/C and Dice */
  17. #ifndef _DCC
  18. #define __regargs __asm
  19. #define __geta4   __saveds
  20. #define __D1      register __d1
  21. #define __D2      register __d2
  22. #define __A6      register __a6
  23. #else
  24. #define __interrupt
  25. #endif
  26.